08_selecteren_via_tag

Selectors and Filters provide a way of finding and extracting information from Web pages.

Selectors

Selectors are used to select parts of the Web page using comming CSS-style syntax.

For example: $("p") will select all of the paragraph tags in a document and return them as a list that can be further operated upon.

Filters

Filters are used to further refine the results returned from selectors

For example, $("p:first") will select the first paragraph in the returned set from $("p")

Firstname Lastname Age
Jill Smith 50
Eve Jackson 94
John Doe 80